@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Space+Grotesk:wght@500&display=swap');

html {
    scroll-behavior: smooth; /* Enable smooth scrolling behavior */
  }

body{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    height: 2000px;
    cursor: wait;
}

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 150px;
    background-color: #020202;
    margin-bottom: 50px;
    font-family: 'Space Grotesk', sans-serif;
    padding-left: 250px;
    z-index: 111;
}  

header h1{
    color: rgb(255, 255, 255);
    font-weight: lighter;
    margin-top: 20px;
}

.dp1{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    top: 20px;
    left: 90px;
    position: absolute;
    box-shadow: 0px 0px 9px 3px rgb(248, 252, 251);
}

.dp2{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    top: 20px;
    left: 20px;
    position: absolute;
    box-shadow: 0px 0px 9px 3px rgb(243, 243, 243);
}

.name {
    color: #706f6f;
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 20px;
}


.navbar {
    width: fit-content;
    margin: auto;
    padding: 40px;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    top: 0px;
    right: 110px;
    margin-right:150px;
  }

  .navbar ul {
    padding: 0;
    list-style: none;
    display: flex;
  }

  .navbar ul li {
    position: relative;
    margin: 0 20px;
    display: inline-block;
  }

  .navbar ul li a {
    text-decoration: none;
    color: rgb(255, 254, 254);
    text-transform: uppercase;
  }

  .navbar ul li::after {
    content: '';
    height: 3px;
    width: 0;
    background: rgb(255, 255, 255);
    position: absolute;
    left: 0;
    bottom: -10px;
    transition: 0.5s;
  }

  .navbar ul li:hover::after {
    width: 100%;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  .navbar ul li:hover .dropdown-content {
    display: block;
  }

  .navbar ul li:hover .dropdown-content a{
    color: #020202;
  }

  .dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid black;
  }

  .dropdown-content a:hover {
    background-color: #ddd;
  }


  .Home{
    margin: 0px;
    z-index: 000;
    padding: 200px;
    top: 0;
    left: 0;
    width: 100hh;
    height: 100vh;
    object-fit: cover;
    background: url(Coding_For_Web/images/bg.jpg);
}

  .Home h1{
    font-size: 53px;
    color: aliceblue;
  }

  .Home h2{
    font-size: 84px;
    color: rgb(236, 236, 236);
    text-shadow: 0px 0px 20px  rgb(47, 137, 240);
  }

.Categories{
    margin: 0px;
    padding: 50px 200px;
    background-color: #020202;
    color: aliceblue;
    z-index: 111;
}

.Categories h1{
    font-size: 45px;
    border-bottom: 2px solid #f9f9f9;
    width: fit-content;
}

.Categories h2{
    font-size: 35px;
}

.article1 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; 
  }
  
  .image-container {
    position: relative;
    margin: 0 15px;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }
  
  .image-container:hover .overlay {
    opacity: 1;
  }
  
  .image-label {
    color: white;
    text-align: center;
  }
  

  .image-container img {
    height: 500px; 
    width: auto; 
    max-width: 700px;
  }

 .article1 .image-container #imgA{
    height: 700px;
    width: auto;
  }

 .Menus{
    margin: 0px;
    padding: 50px 200px;
    background-color: #020202;
    color: aliceblue;
    z-index: 111;
 } 
  
 .article2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Add spacing above the images */
    flex-direction: column;
  }

  .article2 .image-container img {
    margin: 50px;
    max-width: 1000px;
  }

 .article2 h3{
    color: #7c7c7c;
 } 

 .Interactives{
    margin: 0px;
    padding: 50px 200px;
    background-color: #020202;
    color: aliceblue;
    z-index: 111;
 }

 footer{
    background-color: #020202;
    color: aliceblue;
    padding: 50px;
 }

 footer button{
    margin: auto;
    display: flex;
    width: fit-content;
    height: 30px;
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 5px;
    background-color: #020202;
    border: 1px solid white;
    color: white;
    transition: 1s ease;
    font-weight: bolder;
    box-shadow: 0px 0px 10px 2px rgb(255, 255, 255);
 }

 footer button:hover{
    background-color: aliceblue;
    border: 1px solid gold;
    box-shadow: 0px 0px 10px 2px gold;
    color: #020202;
    height: 30px;
 }

 footer button a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  transition: 1s ease;
 }

 footer button a:hover{
  color: #020202;
 }
